package com.cssy.xxkj.logic.dao;

import com.cssy.xxkj.logic.entity.LogicWarehousePriceDetailsDO;
import com.plat.helper.SearchConditions;

import java.util.List;

/**
 * 数据访问对象接口
 * @since 2014-09-16
 */
public interface LogicWarehousePriceDetailsDAO extends LogicBizDAO<LogicWarehousePriceDetailsDO>{

    /**
     * 插入数据
     * @param logicWarehousePriceDetailsDO
     * @return 插入数据的主键
     */
    public String insertLogicWarehousePriceDetailsDO(LogicWarehousePriceDetailsDO logicWarehousePriceDetailsDO);

    /**
     * 统计记录数
     * @param logicWarehousePriceDetailsDO
     * @return 查出的记录数
     */
    public Integer countLogicWarehousePriceDetailsDOByExample(LogicWarehousePriceDetailsDO logicWarehousePriceDetailsDO);

    /**
     * 更新记录
     * @param logicWarehousePriceDetailsDO
     * @return 受影响的行数
     */
    public Integer updateLogicWarehousePriceDetailsDO(LogicWarehousePriceDetailsDO logicWarehousePriceDetailsDO);

    /**
     * 获取对象列表
     * @param logicWarehousePriceDetailsDO
     * @return 对象列表
     */
    public List<LogicWarehousePriceDetailsDO> findListByExample(LogicWarehousePriceDetailsDO logicWarehousePriceDetailsDO);

    /**
     * 根据主键获取logicWarehousePriceDetailsDO
     * @param id
     * @return logicWarehousePriceDetailsDO
     */
    public LogicWarehousePriceDetailsDO findLogicWarehousePriceDetailsDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicWarehousePriceDetailsDOByPrimaryKey(String id);
    
    public List<LogicWarehousePriceDetailsDO> findQueryEndMonthToSummary(SearchConditions scs);

}